

@import './var.scss';

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-size: $font-size;
    line-height: $line-height;
    font-family: $font-family;
    background: $body-bg;
    color:$font-color;
}
ul {
    list-style: none;
}
// ios webkit overflow scroll
.srltouch {
    -webkit-overflow-scrolling: touch;
}
a{
    color:$font-color;
}
a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}
/* 输入框focus焦点*/
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none !important;
}
// table
.table-fixed {
    table-layout: fixed;
}

.table-auto {
    table-layout: auto;
}

/* placeholder */
/*webkit*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: $text-placeholder !important;
}

/*IE10+*/
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: $text-placeholder !important;
}

/*Firefox4-18*/
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: $text-placeholder !important;
}

/*Firefox19+*/
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: $text-placeholder !important;
}

/* placeholder 兼容ie7,8,9 */
input.ie-focus,
textarea.ie-focus {
    color: $text-placeholder !important;
}
